package string;

/**
 * 标准JavaBean要求;
 * 1.成员变量都是私有的;
 * 2.提供对应的getter/setter
 * 3.必须提供一个无参构造方法
 */
public class Point {
    private int a;
    private int b;
    public Point(){}
    public Point(int a, int b) {
        this.a = a;
        this.b = b;
    }
    public int getA(){
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }
}
